package com.hdd.hll.common.config;

import com.hdd.hll.common.utils.SwaggerUtils;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.spring.web.plugins.Docket;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@Configuration
@EnableSwagger2
public class Swagger2Config {

	@Bean
	public Docket infoControllers() {

		return SwaggerUtils.common("外放api", "com.hdd.hll.modules");
	}

}